import { createSelector } from "@ngrx/store";
import { getOlStateSelector } from "./ol.selector";
import { OlState } from "../reducers";
import { MapState } from "../reducers/map.reducer";



export const getMapState = createSelector(getOlStateSelector, (state: OlState) => state.map);

export const getMapCursor = createSelector(getMapState, (state: MapState) => state.cursor);